/**
 * @description: Login interface parameters
 */
export interface LoginParams {
    name: string
    password: string
    username?: string
}

/**
 * @description: Get user information
 */
export interface GetUserInfoByUserIdParams {
    userId: string | number
}

export interface RoleInfo {
    roleName: string
    value: string
}

/**
 * @description: Login interface return value
 */
export interface LoginResultModel {
    userId: string | number
    token: string
    role: RoleInfo
    user?: any
}

/**
 * @description: Get user information return value
 */
export interface GetUserInfoByUserIdModel {
    role: RoleInfo
    // 用户id
    userId: string | number
    // 用户名
    name: string
    // 真实名字
    realName: string
    // 介绍
    desc?: string
    // 房东信息
    info: any
    // 子账号信息
    z: any
}
